package com.cskaoyan.service.admin;

import com.cskaoyan.bean.BaseParam;
import com.cskaoyan.bean.PageDataVo;
import com.cskaoyan.bean.admin.Admin;
import com.cskaoyan.bean.admin.bo.PasswordBo;

/**
 * 类<code>Doc</code>用于：TODO
 *
 * @author Acher
 * @version 1.0
 * @date 2021-10-18
 */
public interface AdminService {

    PageDataVo query(Admin admin);

    boolean create(Admin admin);

    boolean update(Admin admin);

    boolean delete(Admin admin);

    boolean updatePasswordByUsername(Admin admin, PasswordBo passwordBo);
}
